/**
 * 本地存储
 * @module Store
 */

let Store = {
    get: function (key) {
       window.localStorage.getItem(key);
    },
    set: function (key, value) {
        window.localStorage.setItem(key, value);
    },
    remove: function (key) {
        window.localStorage.removeItem(key);
    },
    clear: function () {
        window.localStorage.clear()
    }
};

export default Store;